package cn.tedu.bece.admin.system.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data
public class SysUserPasswordParam {

    @NotEmpty(message = "原密码不能为空")
    @ApiModelProperty(value = "原密码", required = true)
    private String rawPassword;

    @NotEmpty(message = "新密码不能为空")
    @ApiModelProperty(value = "新密码", required = true)
    private String newPassword;

}
